import { ref, computed } from 'vue'
import { defineStore } from 'pinia'

export default defineStore('global', () => {
    const axiosLoading = ref(false)
    function setLoading(state: boolean) {
        axiosLoading.value = state
    }
    return { axiosLoading, setLoading }
})
